home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 38 (1994-02)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip / MegaDisc 38 (1994-02)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf / Programming / Introduction_To_C / Chapter1 / Chapter1
Text File  |  1994-02-09  |  3KB  |  72 lines

  1.  
  2.                              Chapter One
  3.  
  4.                     Introduction To C Programming
  5.  
  6.  
  7.                             by Jason Lowe
  8.  
  9.  
  10.  
  11.   38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38
  12.  
  13.  
  14. Which C compiler can I use?
  15.    Through this tutorial I will be using and making reference to a
  16.   public domain C compiler which can be found on fish 508.  I have
  17.   taken this compiler and created a 2 disk set which is set up and
  18.   ready to go.  This 2 disk set can be obtained from the public domain
  19.   libraries of Megadisc (UT 337 A,B).  You can of course use your own
  20.   commerical compiler which should come with plenty of documentation
  21.   desribing how to use it and how it works.
  22.  
  23.  
  24. Previous knowledge. What You Should Know.
  25.    Before you attempt C you should at least have some knowledge of the
  26.   amiga and be able to use the cli and a text-editor without to much
  27.   problem.  If any (or all) of the following pose a problem or you
  28.   don't have a clue what is being discussed you should put C on hold
  29.   and try and learn how to do them.
  30.  
  31.  1) You should be able to use a text-editor. With this text-editor you
  32.     need to be able to create and alter text files and store them on
  33.     disk or in ram.
  34.  
  35.  2) You should have a fair idea on how to use a cli or shell. In
  36.     particular you should be able to copy files, delete files, rename
  37.     files and be familiar with the concept of directorys and sub-
  38.     directorys.
  39.  
  40.  3) A fairly good understanding of mathematics.
  41.  
  42.    It is also strongly suggested that you have some experience with
  43.   programming before you try C.  BASIC is an excellent language in
  44.   obtaining the idea of how to program and what it's all about.  BASIC
  45.   is usually standard on every computer (including the Amiga) and is
  46.   very easy to get into.
  47.  
  48.  
  49. Learning C.
  50.    When you read through these files you should not expect to
  51.   understand everything from the word go.  You should experiment with
  52.   the information and example programs and in general try programs of
  53.   your own.  Over time you will start to understand more and more and
  54.   you will also develop knowledge that can only be aquired through
  55.   experimenting.
  56.  
  57.    Other peoples code and doc files are an invaluable source of
  58.   information to someone just starting out in C.  If you search your
  59.   local public domain library you will find many programs with their
  60.   source in C and some even with information on how the program was
  61.   created and what bugs were encountered.
  62.  
  63.    The main thing you should try to do is enjoy yourself.  Some people
  64.   start out hoping to create an incredible piece of software and
  65.   almost force themselves to learn.  This really isn't the way to go.
  66.   If things aren't going your way try and get a fresh perspective by
  67.   taking a break for a few days (or even weeks).
  68.  
  69.  
  70.   38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38 *^* 38
  71.  
  72.